PreviousNextTracker indexSee it online !

(251/308) 1769 - ProjectViewer does not restore multiple views properly.

I have several projects I'm working on at once. For each, I have a separate view (and I've named each view thanks to that nice new feature!) If I have only one open, and close jEdit, it is properly restored when I restart (yay!) but if I have more than one open, only that last is restored. :-(

I can't find any control by which I can save and restore views, or select which view to open when I start. I think that would be a very helpful feature. Each saved view should remember: the dockable positions and which were visible, the split positions and which buffer and line was visible in each, which project was open in each (assuming Project Viewer is used), etc.

Submitted snarum-micron - 2014-01-03 15:44:03.779000 Assigned
Priority 5 Labels ProjectViewer
Status open Group
Resolution None

Comments

2014-01-03 15:52:21.967000
daleanson

It seems to me there is a plugin that does that, Sessions maybe?

2014-01-03 16:08:31.477000
snarum-micron

Well, I was not aware of Sessions plugin, but after trying it, I have to say that it is NOT what I'm looking for. It seems to think that both views should be modified as part of the session. It doesn't seem to support having two completely independent projects open in two separate views, and managing them separately. The other complaints I have with Sessions, I'll file as a bug/feature request ticket against the plugin, then uninstall it.

2014-01-03 17:05:59.684000
ezust

Ticket moved from /p/jedit/feature-requests/477/

2014-01-03 17:06:54.274000
ezust

- **labels**: --> ProjectViewer
- **summary**: Allow save and restore views --> ProjectViewer does not restore multiple views anymore.
- **Group**: v5.2 -->

2014-01-03 17:06:58.365000
ezust

This is a regression, ProjectViewer used to do this properly. Moving to plugin bugs.

2014-01-03 17:23:43.312000
ezust

The comment about restoring Dockables and their positions is related to Perspective and should be opened as a separate ticket against jedit core.

The comment about restoring split configuration properly should also be opened as a separate ticket against jedit core.

This ticket should only be related to ProjectViewer.

2014-01-20 19:40:43.248000
ezust

- **summary**: ProjectViewer does not restore multiple views anymore. --> ProjectViewer does not restore multiple views properly.

2014-01-20 19:40:43.989000
ezust

I have observed that if I exit jEdit regularly (without a crash), and restart it, then 80% of the time, ProjectViewer properly restores 2 different views properly, each open to the correct project.

However, if one of them is a git project and the other is not, for some reason, PV tries to get a git status on each file in the non-git project, which for large projects, causes a lot of calls to command line git which should not have happened.